<template>
  <div>
    <div id="J_prismPlayer" class="prism-player"></div>
  </div>
</template>

<script>
    export default {
        name: "Aliplayer",
        data(){
          return {}
        },
        mounted() {
          this.init_aliplayer();
        },
        methods: {
            init_aliplayer() {
              new Aliplayer({
                id: "J_prismPlayer", // 容器id
                source: "http://img.ksbbs.com/asset/Mon_1703/05cacb4e02f9d9e.mp4",        // 视频url
                width: "100%",       // 播放器宽度
                height: "400px"      // 播放器高度
              });
            },
          },
    }
</script>

<style scoped>

</style>
